package com.personal.service.auth.impl;

import com.personal.dao.auth.AuthUserMapper;
import com.personal.entity.auth.AuthUser;
import com.personal.entity.auth.AuthUserExample;
import com.personal.service.auth.AuthService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class AuthServiceImpl implements AuthService {

    @Resource
    private AuthUserMapper userMapper;

    @Override
    public List<AuthUser> getAll(){
        AuthUserExample example = new AuthUserExample();
        return userMapper.selectByExample(example);
    }
}
